//
//  ConfigConstants.h
//  cafe
//
//  Created by Northwan on 15/5/18.
//  Copyright (c) 2015年 . All rights reserved.
//

//local url
static NSString * const BASE_URL = @"http://192.168.2.4:82/yueshi/api/";

//static NSString * const BASE_URL = @"http://yueshi.nat123.net/yueshi/api/";

//official url
//static NSString * const BASE_URL = @"http://api.yueshichina.com/api/";

// 本地密钥
static NSString * const kBaseSecret = @"9d738f3234abf88b1cca4e809204fbdf";
// 用UUID用到key
static NSString * const kUUID = @"kUUID";
// 昵称
static NSString * const kNickName = @"kNickName";
// 用户id
static NSString * const kUserId = @"kUserId";
// 登陆标示
static NSString * const kAppToken = @"kAppToken";
// 服务器返回的sercet
static NSString * const kServerSecret = @"kServerSecret";
// 用户名
static NSString * const kUserName = @"kUserName";
// 头像
static NSString * const kHeadImg = @"kHeadImg";
// 性别
static NSString * const kUserGender = @"kUserGender";
// 手机号
static NSString * const kUserPhone = @"kUserPhone";
// version
static NSString * const kAppVersion = @"kAppVersion";
// skip upgrade version
static NSString * const kSkipUpgradeVersion = @"kSkipUpgradeVersion";
// 是否显示图片
static NSString * const kISShowPicture = @"kISShowPicture";
// 渠道
static NSString * const kChannel = @"APPSTORE";
// deviceToken
static NSString * const kDeviceToken = @"kDeviceToken";
//[BDPush getChannelId]
static NSString * const kChannelId = @"kChannelId";
// net type
static NSString * const kNetType = @"kNetType";
// 订单号字段：支付成功会被带入订单列表界面，支付失败会被清空,用作处理支付结果延时订单状态
static NSString * const kOrderCode = @"kOrderCode";
// 新订单类型
static NSString * const kOrderType = @"kOrderType";
// 购物篮商品个数
static NSString * const kCartIndex = @"kCartIndex";
// 意见反馈内容缓存字段
static NSString * const kCacheFeedBackString = @"kCacheFeedBackString";
// 问客服内容缓存字段
static NSString * const kCacheServiceChatString = @"kCacheServiceChatString";
// 是否有新的聊天消息
static NSString * const kHasNewChatMessage = @"kHasNewChatMessage";

/*-----------------nortif--------------------*/
// 登陆超时通知
static NSString * const kLoginTimeOutNortif = @"kLoginTimeOutNortif";
// 第三方登陆通知
static NSString * const kOauthLoginNortif = @"kOauthLoginNortif";
// 购物篮item选中的通知
static NSString * const kCartItemChangeNortif = @"kCartItemChangeNortif";
// 刷新地址列表
static NSString * const kAddressItemChangeNortif = @"kAddressItemChangeNortif";
// 点击结算中心地址选择头的通知
static NSString * const kTapAccountCenterAddressHeadNortif = @"kTapAccountCenterAddressHeadNortif";
// 选择地址完成的通知
static NSString * const kChooseAddressFinishNortif = @"kChooseAddressFinishNortif";
// 支付结果通知
static NSString * const kPayResultStatusNortif = @"kPayResultStatusNortif";
// 订单支付状态页面下一步通知
static NSString * const kAccountOrderStatusNextNortif = @"kAccountOrderStatusNextNortif";
// 点击订单列表订单状态相关的btn
static NSString * const kTapOrderListStatusButtonNortif = @"kTapOrderListStatusButtonNortif";
// 更新个人中心信息
static NSString * const kUpdateMineInfoNortif = @"kUpdateMineInfoNortif";
// 更新手机号码
static NSString * const kUpdatePhoneCodeNortif = @"kUpdatePhoneCodeNortif";
// 注册弹出修改信息页的通知
static NSString * const kRegistFinishToModifyInfoNortif = @"kRegistFinishToModifyInfoNortif";
// 跳转到俱乐部页面的通知
static NSString * const kToClubPageNortif = @"kToClubPageNortif";
// 跳转到首页的通知
static NSString * const kToHomePageNortif = @"kToHomePageNortif";
// 跳转到分类
static NSString * const kToCategoryPageNortif = @"kToCategoryPageNortif";
// 跳转到其他页面的通知，只在启动页面使用
static NSString * const kToOtherPageNortif = @"kToOtherPageNortif";
// 推送
static NSString * const kRemotePushNortif = @"kRemotePushNortif";
// 应用是否是活动状态
static NSString * const kApplicationDidBecomeActiveNortif = @"kApplicationDidBecomeActiveNortif";
// 收藏按钮的状态改变
static NSString * const kMarkStatusChangeNortif = @"kMarkStatusChangeNortif";
// 子页面通知编辑按钮改变
static NSString * const kSubPageMarkStatusChangeNortif = @"kSubPageMarkStatusChangeNortif";
// 收藏的商品条目状态切换通知
static NSString * const kMarkProductItemChangeNortif = @"kMarkProductItemChangeNortif";
// 收藏的文章条目状态切换通知
static NSString * const kMarkArticleItemChangeNortif = @"kMarkArticleItemChangeNortif";
// 收藏的视频条目状态切换通知
static NSString * const kMarkVideoItemChangeNortif = @"kMarkVideoItemChangeNortif";
// 验证代金券成功通知
static NSString * const kValidateVoucherSuccessNortif = @"kValidateVoucherSuccessNortif";
// 选择代金券
static NSString * const kChooseVoucherFinishNortif = @"kChooseVoucherFinishNortif";
//订单状态（取消订单，确认收货）在其中一个选项卡点击变更状态后，通知其他页面需要的页面同时更新
static NSString * const kSubviewsUpdateOrderStatus = @"kSubviewsUpdateOrderStatus";
//打开商品详情的评论页面
static NSString * const kOpenProductReviewsDetailNortif = @"kOpenProductReviewsDetailNortif";
//刷新订单评论页
static NSString * const kRefreshOrderReviewsSelectPictureNortif = @"kRefreshOrderReviewsSelectPictureNortif";
//删除订单评论的数据
static NSString * const kDeleteOrderReviewsSelectPictureNortif = @"kDeleteOrderReviewsSelectPictureNortif";
//兴趣小组主题列表评论
static NSString * const kTopiclistCommentNortif = @"kTopiclistCommentNortif";
//兴趣小组主题列表点赞
static NSString * const kTopiclistPraiseNortif = @"kTopiclistPraiseNortif";
//停止首页卡片视频播放
static NSString * const KStopVideoPlayNortif = @"KStopVideoPlayNortif";
// 新消息通知
static NSString * const kNewChatMessageNortif = @"kNewChatMessageNortif";
// 新意见反馈消息通知
static NSString * const kNewFeedBackMessageNortif = @"kNewFeedBackMessageNortif";
// 处理新消息显示角标
static NSString * const kDealNewMessageBadgeNortif = @"kDealNewMessageBadgeNortif";
// 新消息内容通知
static NSString * const kNewChatMessageContentNortif = @"kNewChatMessageContentNortif";

/*-----------------apple--------------------*/

// apple id
static NSString * const kAppleId = @"1037277174";
//talking data appid
static NSString * const kTDAppId = @"DD32FCB51156095644E0310AE5A7538B";
//apple pay mertchantID
static NSString * const kAppleMerchantID = @"merchant.com.yueshichina";


/*------------------ qq -------------------*/
// appid
static NSString * const kQQAppId = @"1104663959";
// app secret
static NSString * const kQQAppSecret = @"Px37K9SvfIposWSP";
// QQ获取用户信息接口
static NSString * const kQQGetUserInfo = @"https://graph.qq.com/user/get_simple_userinfo";



/*------------------ wx -------------------*/
// wx app secret
static NSString * const  kWxAppSecret = @"e4a13ad9ed5da545272b329c5d539076";
// wx app_id
static NSString * const  kWxAppId = @"wxfe8fee8f1450f3c8";
// 获取access_token
static NSString * const  kWxAccessTokenUrl= @"https://api.weixin.qq.com/sns/oauth2/access_token?";
// 检查access_token有效性
static NSString * const  kWxCheckTokenUrl= @"https://api.weixin.qq.com/sns/auth?";
// 获取用户个人信息
static NSString * const  kWxUserInfoUrl= @"https://api.weixin.qq.com/sns/userinfo?";
// 普通用户的标识，对当前开发者帐号唯一，获取该openid的好友列表
static NSString * const  kWxOpenId= @"kWxOpenId";
// 调用凭证
static NSString * const  kWxAccessToken= @"kWxAccessToken";
// 合作者key
static NSString * const  kWxPartnerKey= @"18ovskaed7hmofr466hjkdvbzrmx6t0j";
// 合作者id
static NSString * const  kWxPartnerID= @"1251771001";





/*------------------ weibo ------------------*/

// 回调页,建议使用默认回调页：https://api.weibo.com/oauth2/default.html
static NSString * const kSinaRedirectURL = @"https://api.weibo.com/oauth2/default.html";
// weibo appkey
static NSString * const kSinaAppKey  = @"2593061161";
// weibo secret
static NSString * const kSinaAppSecret = @"a2888c1a1b12b6c82270ec1c7f1bb887";
// 新浪微博access_token
static NSString * const kSinaLoginAccessToken = @"kSinaLoginAccessToken";
// 新浪获取用户信息接口 注意 https
static NSString * const kSinaUserinfoURL = @"https://api.weibo.com/2/users/show.json";



/*------------------ baidu ------------------*/
// 百度key
static NSString * const kBaiduLocationAppKey = @"xTMrsC9RoRMqLhAyHLsubTVg";
// 百度push
static NSString * const kBaiduPushAppkey = @"3gQeFaCNc3Zg7p93DBd4H6Kk";
// push secret
static NSString * const kBaiduPushAppSecret = @"NHx9c4seGIfYjmwC8n7nDr668y0lyVrC";
// 定位的城市
static NSString * const kLocationAddressCity = @"kLocationAddressCity";
// 定位的省份
static NSString * const kLocationAddressProvince = @"kLocationAddressProvince";
// 定位的区，县
static NSString * const kLocationAddressArea = @"kLocationAddressArea";
// 定位到的街道
static NSString * const kLocationAddressStreet = @"kLocationAddressStreet";

/*------------------default text global------------------*/

static NSString * const kRequestFailure = @"请求失败,请检查网络";
